var active_li = GetQueryString('active_li');
        var active_span = GetQueryString('active_span');
        var vm = new Vue({
            el: '#app',
            data: {
                active_li: active_li ? active_li : 1,
                active_span: active_span ? active_span : 11,
                block: 'block',
                none: 'none'
            },
            methods: {
                handleLi: function (li, span) {
                    this.active_li = li;
                    this.active_span = span;
                },
                handleClick: function (li, span) {
                    this.active_li = li;
                    this.active_span = span;
                }
            }
        })
        function GetQueryString(name) {
            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
            var r = window.location.search.substr(1).match(reg);
            if (r != null) return unescape(r[2]); return null;
        }
        function paramss(a) {
            var params = {
                'apiKey': a,
                'deviceType': 'DIC_DEVICE_TYPE_1',
                contentType: "application/json;charset=utf-8",
                datatype: 'json'
            };
            return params;
        }
        $(function () {
            //国际快递
            ajax('post', '/d_easy/deasy/api', paramss('api_post_getExpressList'), 'json', function (data) {
                var a = data.expresslist;
                for (var i = 0; i < data.expresslist.length; i++) {
                    if (a[i].express_name == "DHL国际快递") {
                        $("#DHL .content_one").append(a[i].content);
                    }
                    if (a[i].express_name == "UPS国际快递") {
                        $("#UPS .content_one").append(a[i].content);
                    }
                    if (a[i].express_name == "TNT国际快递") {
                        $("#TNT .content_one").append(a[i].content);
                    }
                    if (a[i].express_name == "香港FedEx") {
                        $("#Fedex .content_one").append(a[i].content);
                    }
                    if (a[i].express_name == "国际EMS") {
                        $("#EMS .content_one").append(a[i].content);
                    }
                    if (a[i].express_name == "邮政E特快") {
                        $("#Efast .content_one").append(a[i].content);
                    }
                }
            })
            //国际专线
            ajax('post', '/d_easy/deasy/api', paramss('api_post_getLineList'), 'json', function (data) {

                var a = data.linelist;
                for (var i = 0; i < data.linelist.length; i++) {
                    if (a[i].line_name == "美国专线") {
                        $("#USA .content_one").append(a[i].content);
                    }
                    if (a[i].line_name == "英国专线") {
                        $("#UK .content_one").append(a[i].content);
                    }
                    if (a[i].line_name == "欧盟直通车") {
                        $("#Eur .content_one").append(a[i].content);
                    }
                }
            })
            //仓储服务
            ajax('post', '/d_easy/deasy/api', paramss('api_post_getServiceList'), 'json', function (data) {
                var a = data.servicelist;
                for (var i = 0; i < data.servicelist.length; i++) {
                    if (a[i].warehouse_name == "英国海外仓") {
                        $("#Cang .content_one").append(a[i].content);
                    }
                }
            })
        })